package net.lab1024.sa.admin.module.business.sp.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import net.lab1024.sa.base.common.json.serializer.FileKeyVoSerializer;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class SpVO {
    @Schema(description = "商品编号")
    private Long spId;
    @Schema(description = "所属商店编号")
    private Long shopId;
    @Schema(description = "所属商店名称")
    private String shopName;
    @Schema(description = "商品名称")
    private String spName;
    @Schema(description = "商品类型")
    private Long spType;
    @Schema(description = "商品类型名称")
    private String spTypeName;
    @Schema(description = "商品价格")
    private BigDecimal spPrice;
    @Schema(description = "商品图片")
    @JsonSerialize(using = FileKeyVoSerializer.class)
    private String spPic;
    @Schema(description = "商品备注")
    private String reMark;
    private boolean isDel;
    private LocalDateTime createTime;
    private String createBy;
    private LocalDateTime updateTime;
    private String updateBy;




}
